home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
STGRPHBF.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
333 b
|
12 lines
#include <graphics.h>
#define NEWBUFSIZE 512
main()
{
int oldbufsize;
/* Set the graphics buffer */
oldbufsize = setgraphbufsize(NEWBUFSIZE);
printf("Graphics buffer size is changed from %d bytes to %d bytes\n",
oldbufsize, NEWBUFSIZE);
printf("*** Call setgraphbufsize before calling initgraph ***\n");
}